<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="css/swiper.min.css">
    <style>
        html,body{
            width:100%;height:100%;
        }
        *{margin:0;padding:0;}
        .swiper-container{
            width:100%;height:500px;
        }
        .swiper-container img{
            width:100%;height:100%；
        }
        .swiper-slide{
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;

        }
    </style>
</head>
<body>
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img src="imgs/1.jpg" alt=""></div>
            <div class="swiper-slide"><img src="imgs/2.jpg" alt=""></div>
            <div class="swiper-slide"><img src="imgs/3.jpg" alt=""></div>
            <div class="swiper-slide"><img src="imgs/4.jpg" alt=""></div>
        </div>
        <div class="swiper-pagination"></div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
    </div>
</body>
<script src="jquery.min.js"></script>
<script src="js/swiper.jquery.min.js"></script>
<script>
    $(document).ready(function(){
        var swiper = new Swiper('.swiper-container',{
            pagination:'.swiper-pagination',
            nextButton:'.swiper-button-next',
            prevButton: '.swiper-button-prev',
            paginationClickable: true,
            spaceBetween: 30,
            centeredSlides: true,
            autoplay: 2500,
            autoplayDisableOnInteraction: false
        })
    })
</script>
</html>